//
//  CategorySubEventModel.m
//  xiaorizi
//
//  Created by kun on 15/10/27.
//  Copyright © 2015年 origin. All rights reserved.
//

#import "CategorySubEventModel.h"

@implementation CategorySubEventModel


+(CategorySubEventModel *)initWithDic:(NSDictionary *)dic
{
    return [[self alloc]initWithDic:dic];
}
-(CategorySubEventModel *)initWithDic:(NSDictionary *)dic
{
    CGFloat themesH = 200;
    CGFloat eventsH =200;
    
    if(self =  [super init])
    {
        
        //self.date = dic[@"date"];
        
       // if(dic[@"events"] != nil)
        {
            eventsH = 0;
            
           // NSArray *dataArray = dic[@"events"];
           // NSDictionary *dataDic = dataArray[0];
            
            self.feeltitle = dic[@"feeltitle"];
            self.imgs = [dic[@"imgs"] lastObject];
            self.title = dic[@"title"];
            self.address = dic[@"address"];
            self.mobileURL = dic[@"mobileURL"];
            self.shareURL = dic[@"shareURL"];
            self.telephone = dic[@"telephone"];
            
            self.remark = dic[@"remark"];
            self.telephone = dic[@"telephone"];
            self.position = dic[@"position"];
            self.tag = dic[@"tag"];
        }
    }
    
    return self;
}



@end
